<template>
  <div id="app">
    <!-- vue3.0配置keep-alive -->
    <router-view v-slot="{ Component }">
      <keep-alive include="Home,Category">
        <component :is="Component"/>
      </keep-alive>
    </router-view>
    <tab-bar/>
  </div>
</template>

<script>
  import TabBar from "@/components/common/tabbar/TabBar";

  export default {
    name: 'App',
    components: {
      TabBar,
    },

  }
</script>

<style>
  @import "assets/css/base.css";
</style>
